<template>
  <div class="hello">
    <h1>{{ msg }}</h1>
    <Tinput title="用户名" attr="username"></Tinput>
    <Tinput title="密码" attr="passwd"></Tinput>
  </div>
</template>
<script>
import Tinput from "./Tinput";
export default {
  components: { Tinput },
  data() {
    return {
      msg: "hello"
    };
  },
  created: function() {},
  mounted: function() {},
  methods: {}
};
</script>
